<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            width: 600px;
            height: 400px;
            margin: 0 auto;
            border: 1px solid #e80cf0;
            display: flex;
            justify-content: space-between;
        }
        .item{
            width: 100px;
            height: 50px;
            background-color: red;
        }
    </style>
</head>
<body>
    <div class="box">
        <div class="item" style="order: 2;">item1</div>
        <div class="item" style="order: 1;">item2</div>
        <div class="item" style="order: 2;">item3</div>
        <div class="item" style="order: 3;">item4</div>
    </div>
</body>
</html>